package com.healthcloud.service.PatientRecord.impl;

import com.healthcloud.dao.patient.PatientBloodFatDao;
import com.healthcloud.entity.patient.PatientBloodFatEntity;
import com.healthcloud.service.PatientRecord.PatientBloodFatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import org.springframework.transaction.annotation.Transactional;



@Service("ppPatientBloodFatService")
@Transactional
public class PpPatientBloodFatServiceImpl implements PatientBloodFatService {
	@Autowired
	private PatientBloodFatDao patientBloodFatDao;
	
	@Override
	public void save(PatientBloodFatEntity ppPatientBloodFat){
		patientBloodFatDao.save(ppPatientBloodFat);
	}
	
	@Override
	public void update(PatientBloodFatEntity ppPatientBloodFat){
		patientBloodFatDao.update(ppPatientBloodFat);
	}

	@Override
	public PatientBloodFatEntity findByIdCard(String idCard) {
		return patientBloodFatDao.findByIdCard(idCard);
	}

}
